﻿using KZ.Express.Resource;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KZ.Express.ENT
{
    public enum Permissions
    {
        Select = 1,
        Insert = 2,
        Update = 3,
        Delete = 4,
        Import = 5,
        Export = 6,
        DebitNote = 7,
        InsertAndUpdate = 8,
        ViewOriginal = 9
    }

    public class PermissionENT : EntityBase
    {
        [Output]
        public int CarrierID { get; set; }

        public string Description { get; set; }

        [NotInsertUpdate]
        public override string Table { get { return "Permissions"; } }

        /// <summary>
        /// proc_Permission_Select
        /// </summary>
        [NotInsertUpdate]
        public override string SelectProcedure { get { return "proc_Permission_Select"; } }
    }
}
